package com.haozi.ehub.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author terry
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableConfigurationProperties
@MapperScan(value = "com.haozi.ehub.core.mapper")
@ComponentScan(value = {"com.haozi.ehub.core","com.haozi.ehub.user"})
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}
